package com.scu.hotelsystem.dao;

import com.scu.hotelsystem.pojo.RoomBill;
import com.scu.hotelsystem.util.search.RoomBillSearch;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoomBillDao {
    int addRoomBill(@Param("roomBill") RoomBill roomBill);

    List<RoomBill> searchRoomBillList(@Param("roomBillSearch") RoomBillSearch roomBillSearch,
                                      @Param("index") int index, @Param("limit") int limit);

    int deleteRoomBill(@Param("idList") int[] idList);
}
